#include <board.h>

#include "parkclark.h"

#ifndef SVPWM_H
#define SVPWM_H


static uint8_t sector;
static float u_ref=12.0;
static uint32_t T=10000;

#define SECTOR_1	(uint8_t)3
#define SECTOR_2	(uint8_t)1
#define SECTOR_3	(uint8_t)5
#define SECTOR_4	(uint8_t)4
#define SECTOR_5	(uint8_t)6
#define SECTOR_6	(uint8_t)2


void svpwm_set_abc(alphabeta_voltage_handle alphabeta_ptr);


#endif
